﻿.input-group-prepend > .input-group-text {
    display: block;
    text-align: right;
    width: 96px;
}

#booking_range .input-group-prepend > .input-group-text {
    display: block;
    text-align: right;
    width: 63px;
}

h4 {
    margin-bottom: .8rem;
}

.list-group-item:hover {
    background-color: #e9ecef !important;
}

.navbar {
    background-color: #e9ecef;
    border-bottom: 1px solid #ced4da;
}

.modal-header, .modal-footer {
    background-color: #e9ecef;
}

.modal-body {
    border-top: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
}

.table {
    font-family: Helvetica;
    font-size: smaller;
    width: 100%;
}

    .table tbody > tr:hover {
        background-color: #ddffdd !important;
    }

    .table thead {
        font-weight: 600;
        font-size: medium;
        background: linear-gradient(0deg, rgba(222,226,230,1) 0%, rgba(255,255,255,1) 47%, rgba(255,255,255,1) 53%, rgba(222,226,230,1) 100%);
    }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #e9ecef;
}

.far, .fas {
    line-height: inherit;
}

#booking_range button.fas {
    height: 38px;
}

body {
    background-color: #f9f9f9;
}

.login {
    background-color: #fff;
    /*margin-top: 10%;*/
}

    .login .input-group-prepend > .input-group-text {
        width: 42px;
    }

.btn-group-toggle .btn {
    padding: .375rem .25rem;
}

.form-control[readonly] {
    background-color: #fbfbfb;
}

.Application[data-app_type="Tow"] .input-group-prepend > .input-group-text {
    width: 134px;
}

.Application[data-app_type="Limo"] .input-group-prepend > .input-group-text {
    width: 167px;
}

.Application .cost {
    float: right;
}

    .Application .cost .amount {
        width: 10px;
        display: inline-block;
        text-align: center;
    }

/* fixes airbnb datepicker them cutting off the bottom of month*/
.flatpickr-months .flatpickr-month {
    height: 34px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    height: auto;
}

textarea {
    min-height: 38px;
}

/*Validation: consider everything valid then add a class for invalid items*/
.was-validated .input-group-text, .was-validated input {
    color: #155724;
    border-color: #28a745; /*#c3e6cb;*/
}

.was-validated .input-group-text {
    background-color: #d4edda;
}

.was-validated input, .was-validated select option, .was-validated textarea {
    background-color: #f9fff9;
}

.invalid .input-group-text, .invalid input {
    color: #721c24;
    border-color: #dc3545; /*#f5c6cb;*/
}

.invalid .input-group-text {
    background-color: #f8d7da;
}

.invalid input, .invalid select option, .invalid textarea {
    background-color: #fff9f9;
}

#editDialog .list-group-item {
    padding: .4rem 1.25rem;
}

.Accessories {
    font-size: .9rem;
}

.c-bold {
    font-weight: 500;
    font-size: larger;
}

.invalid-feedback {
    margin-top: 0;
    margin-bottom: .25rem;
    /*font-size: 75%;*/
}

#editDialog .modal-footer button {
    width: 80px;
}

.accHeader {
    font-weight: 500;
}

    .accHeader:hover {
        background-color: #e9ecef;
    }

    .accHeader.collapsed:after {
        float: right;
        font-family: "Font Awesome 5 Free";
        content: '\f103';
        font-weight: 900;
        padding-left: 5px;
        position: relative;
        top: 1px;
    }

    .accHeader:after {
        float: right;
        font-family: "Font Awesome 5 Free";
        content: '\f102';
        font-weight: 900;
        padding-left: 5px;
        position: relative;
        top: 1px;
    }

/* DataTable overrides*/
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    /*top: 4px;*/
}

.copyright {
    font-size: x-small;
}

/* Animated loading */
.loading img {
    width: 32px;
    -webkit-animation: rotation 1s infinite linear;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

/* siteDefault.htm */
#cache .action, #default .action {
    bottom: 0;
    position: absolute;
}

#cache button, #default button {
    width: 127px;
}

/* navbar buttons*/
.navbar-light .nav-item.active .nav-link,
.navbar-light .nav-item .nav-link:active,
.navbar-light .nav-item .nav-link:focus,
.navbar-light .nav-item:hover .nav-link {
    color: white;
    background-color: #007bff;
    border-radius: .25rem;
}

.navbar-light .navbar-nav .nav-link {
    color: black;
}

/* Fix for multiple modal scrolling issue */
.modal {
    overflow: auto !important;
}

/* Cancelled events*/
.cancelled {
    background-color: mistyrose !important;
}

.yesNo button {
    width: 75px;
}

/* dropdown submenus */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        top: 0;
        right: 100%;
        /*margin-top: -1px;*/
    }

/* Searching */
.searchMatch {
    background-color: #b2e481;
}

/* Map */
.modal-body #map {
    height: initial;
}

#map {
    height: 100%;
    width: 100%;
}

.mapContainer {
    width: 100%;
    height: 87vh;
}

/* Editor mods */
.editorDateTime .time {
    width: 73px;
}

.editorDateTime .k-button {
    width: 25px;
}

/* Details Dialog */
#detailsDialog .modal-body span > span {
    margin-left: .25rem !Important;
    font-weight: 400
}

#detailsDialog .modal-body div > span {
    font-weight: 600
}

#detailsDialog .modal-body h5 {
    text-decoration: underline;
    font-weight: 600;
    margin-bottom: .25rem;
    margin-top: .5rem;
}

/* Job Details */
#detailsDialog .modal-body span {
    font-weight: 600;
}

    #detailsDialog .modal-body span > span {
        font-weight: initial;
    }

[data-toggle=collapse].fa:before {
    content: "\f102";
}

[data-toggle=collapse].collapsed.fa:before {
    content: "\f103";
}

.fa-caret-down::before {
    content: none;
}

.fa-caret-right::before {
    content: none;
}

.modal-footer button {
    width: 103px
}

#publicClients button[type="submit"] {
    height: 40px;
    top: 30px;
    position: relative;
}

#deleteClient {
    top: 25px;
    position: relative;
}

    #deleteClient:active {
        color: #0036A9 !important;
    }

table.dataTable.clients tbody td {
    vertical-align: middle;
}

#nav-tab .nav-item:first-child {
    margin-left: 0px;
}

/* Bootstrap Overrides */
.form-control[readonly] {
    background-color: rgb(233, 236, 239);
}

/* Telerik kendo jquery validatation modification*/
.was-validated .k-input {
    border: 1px solid #28a745;
}

    .was-validated .k-input .form-control:valid {
        background-image: none;
    }

    .was-validated .k-input .k-button {
        border-left: 1px solid #28a745;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-size: calc(.75em + .375rem) calc(.75em + .375rem);
        background-position: center;
    }
